package com.bohua.wxshopingapi.utils;

/**
 * 拆份工具
 */
public class StringUtil {

    /**
     * 根据数据库逗号拆份
     * @param chuan
     * @return
     */
    public static String[] zhuanString(String chuan){
        //System.out.println("拆分前："+chuan);
        String[] sArray = chuan.split(",");
       System.out.println("拆分后：");
        for (String item:
             sArray) {
            System.out.println(item);
        }
        return sArray;
    }

}
